﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"    
	xmlns:os="clr-namespace:OneStop.UI"
	x:Class="OneStop.UI.GasDetail"
	d:DesignWidth="242" d:DesignHeight="227">

	<Grid x:Name="LayoutRoot">
        <Grid.Resources>
            <os:PercentFormatConverter x:Key="gasPercentConverter" />
            
        </Grid.Resources>
        
		<Slider x:Name="F02" Value="{Binding Path=FO2, Mode=TwoWay}" Minimum="0" Maximum="1" Margin="51,8,50,0" VerticalAlignment="Top" Height="18"/>
		<dataInput:Label VerticalAlignment="Top" Content="O2:" Height="16" HorizontalAlignment="Left" Width="21" Margin="9,0,0,0"/>
		<Slider Value="{Binding FHe, Mode=TwoWay}" Minimum="0" Maximum="1" Margin="46,48,55,0" VerticalAlignment="Top" Height="18"/>
		<dataInput:Label Margin="9,48,0,0" VerticalAlignment="Top" Content="HE:" Height="16" HorizontalAlignment="Left" Width="21"/>
        
		<TextBox Text="{Binding FO2, Mode=TwoWay, Converter={StaticResource gasPercentConverter}}" Margin="0,2,15,0" TextWrapping="Wrap" HorizontalAlignment="Right" VerticalAlignment="Top" Width="35"/>
		<TextBox Text="{Binding FHe, Mode=TwoWay, Converter={StaticResource gasPercentConverter}}" HorizontalAlignment="Right" Margin="0,48,15,0" VerticalAlignment="Top" TextWrapping="Wrap" Width="35"/>


	</Grid>
</UserControl>